Automattic\WooCommerce\GoogleListingsAndAds\Product\ProductHelper A

Total Complexity 59
Dependencies 11
Dependents 14
Total lines 449
Lines of code 220
Logical lines of code 129
Comment lines 163
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
is_sync_ready()
A
52 8 24
mark_as_invalid()
S
51 7 27
mark_as_synced()
S
51 6 24
remove_google_id()
S
58 4 16
get_validation_errors()
S
65 5 8
mark_as_unsynced()
S
58 3 16
maybe_swap_for_parent()
S
59 3 15
mark_as_pending()
S
63 3 11
update_empty_visibility()
S
63 3 11
get_mc_status()
S
62 2 12
get_channel_visibility()
S
62 2 12
get_wc_product_id()
S
67 2 7
get_wc_product_title()
S
67 2 8
is_product_synced()
S
72 2 5
is_sync_failed_recently()
S
69 2 6
maybe_swap_for_parent_id()
S
75 1 4
__construct()
S
74 1 5
get_sync_status()
S
80 1 3
get_synced_google_product_ids()
S
80 1 3
get_wc_product()
S
80 1 3